27. Lab: TensorFlow Neural Network
TensorFlow Neural Network Lab
We've prepared a Jupyter notebook that will guide you through the process of creating a single layer neural network in TensorFlow based on what you covered in this less.
Online Option
We have prepared one of Udacity's first experimental online notebooks. This will allow you to run this lab in your browser instead of running it locally on your computer! Feel free to learn about it in the next concept and try it out in the following concept after reading the lab instructions below.
Setup
If you haven't already setup the TensorFlow Environment you can check out section the covered earlier in this lesson.
Clone the Repository and Run the Notebook
Run the commands below to clone the Lab Repository and then run the notebook:
git clone https://github.com/udacity/RoboND-NN-Lab.git
# Make sure the environment is activated!
jupyter notebook
The jupyter interface will open in your browser. You can then access the cloned repo and the jupyter notebook from there.
Lab Instructions
The notebook has 3 problems for you to solve:
- Problem 1: Normalize the features
- Problem 2: Use TensorFlow operations to create features, labels, weight, and biases tensors
- Problem 3: Tune the learning rate, number of steps, and batch size for the best accuracy
This is a self-assessed lab. You can compare your answers to the solutions here. Feel free to discuss with your fellow classmates!